from django.conf.urls.defaults import patterns, include, url

# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()

urlpatterns = patterns('sgx.views',
    # Examples:
    url(r'^$', 'sgxHome', name='home'),
    url(r'addSgx$', 'addSgx'),
    url(r'uploadSgx$', 'uploadSgx'),
    url(r'^(?P<sgx_name>[\w|\W]+)/view$', 'viewSgx'),
    url(r'^(?P<sgx_name>[\w|\W]+)/del$', 'delSgx'),
    url(r'^(?P<sgx_name>[\w|\W]+)/procedure/add$', 'addProcedure'),
    url(r'^(?P<sgx_name>[\w|\W]+)/procedure/(?P<pro_name>\w+)/edit$', 'editProcedure'),
    url(r'^(?P<sgx_name>[\w|\W]+)/procedure/(?P<pro_name>\w+)/del$', 'delProcedure'),
    url(r'^(?P<sgx_name>[\w|\W]+)/simexpression/add$', 'addSimexpression'),
    url(r'^(?P<sgx_name>[\w|\W]+)/simexpression/(?P<simex_name>\w+)/edit$', 'editSimexpression'),
    url(r'^(?P<sgx_name>[\w|\W]+)/simexpression/(?P<simex_name>\w+)/del$', 'delSimexpression'),
    url(r'^(?P<sgx_name>[\w|\W]+)/measurementMatrix/add$', 'addMeasurementMatrix'),
    url(r'^(?P<sgx_name>[\w|\W]+)/discrimination/add$', 'discriminationSetting'),
    url(r'^(?P<sgx_name>[\w|\W]+)/run$', 'run'),
    url(r'^(?P<sgx_name>[\w|\W]+)/codeSimgenex$', 'codeSimgenex'),
    url(r'^(?P<sgx_name>[\w|\W]+)/compareTranssysModel$', 'compareTranssysModel'),
    url(r'^(?P<sgx_name>[\w|\W]+)/examineTranssysModel$', 'examineTranssysModel'),
    url(r'^(?P<sgx_name>[\w|\W]+)/uploadExpressionSet$', 'uploadExpressionSet'),
    url(r'^(?P<sgx_name>[\w|\W]+)/viewExpressionSet/(?P<ex_name>\w+)$', 'viewExpressionSet'),
    url(r'^(?P<sgx_name>[\w|\W]+)/delExpressionSet/(?P<ex_name>\w+)$', 'delExpressionSet'),
    url(r'^(?P<sgx_name>[\w|\W]+)/addTargetTp$', 'addTargetTp'),
    url(r'^(?P<sgx_name>[\w|\W]+)/delTargetTp/(?P<tp_name>\w+)$', 'delTargetTranssysProgram'),
    url(r'^(?P<sgx_name>[\w|\W]+)/getMeasurementColumns/(?P<transformation>\w+)/(?P<reference_column>\w+)$', 'getMeasurementColumns'),
    # Uncomment the admin/doc line below to enable admin documentation:
    # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    # url(r'^admin/', include(admin.site.urls)),
)
